//
//  YQUserAccount.h
//  WeiboOC
//
//  Created by yang on 15/11/15.
//  Copyright © 2015年 yang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YQUserAccount : NSObject<NSCoding>
@property (nonatomic, copy) NSString *access_token;
@property (nonatomic, assign) NSNumber *expires_in;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *avatar_large;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, strong) NSData *expires_date;
+ (instancetype)userAccountWithDict:(NSDictionary *)dict;
- (void)saveAccount;
- (YQUserAccount *)loadAccount;
@end
